home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1999 March / EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso / earcd / devel / vbcc-68k-src / machines / amiga68k / libsrc / stdio / perror.c < prev    next >
C/C++ Source or Header  |  1999-01-01  |  144b  |  10 lines

  1. #include <stdio.h>
  2. #include <errno.h>
  3.  
  4. extern char *_errors[];
  5.  
  6. void perror(const char *s)
  7. {
  8.     fprintf(stderr,"%s: %s\n",s,_errors[errno]);
  9. }
  10.